# -*- coding: utf-8 -*-

from flask import Blueprint
from flask_restful import Api

from . import room, errors

api_bp = Blueprint('api_dp', __name__)
api = Api(api_bp, errors=errors.errors)
api.add_resource(room.Room, '/room', '/room/<int:id>', endpoint='room')
api.add_resource(room.RoomList, '/roomlist', endpoint='roomlist')
